Skip to main content

CurrentWindow

Wolfram Kernel
Execution environment
Notebook`Editor`Kernel`FrontSubmitService`
Context
CurrentWindow[] _WindowObj

returns a window socket object from the evaluation context. The object corresponds to the current socket channel used for the communication with a window, where a cell is evaluated.

Provides WindowObj

Implementation

CurrentWindow[] := WindowObj[
<|"Socket"->Global`$EvaluationContext["KernelWebSocket"]|>
]

It is used by FrontSubmit, FrontFetch and FrontFetchAsync